package com.jd.jdoss.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


@Component
@ConfigurationProperties(prefix = "my.route")
@Getter
@Setter
public class RouteConfig {
    /**
     * 路径
     */
    //保存硬盘地址
    private String hardDisk;
    //默认图片类型文件夹
    private String imageFolder;
    //默认文件类型文件夹
    private String documentFolder;
    //默认的视频类型文件夹
    private String videoFolder;
    //默认的音频类型文件夹
    private String musicFolder;
    //允许上传的ip(上传白名单)
    private String[] IPs;
    /**
     * 类型
     */
    //图片类型
    private String[] imageType;
    //文件类型
    private String[] documentType;
    //视频类型
    private String[] videoType;
    //音频类型
    private String[] musicType;
}
